package edu.fhsu.csci468;

public class Server
{
	
	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		new Server();
	}
	
	//private ControlPanel controlPanel;
	
	public Server()
	{
		HandleEvents he = new HandleEvents();
		
		// Get control panel server running.
		ControlPanelServer controlPanelServer = new ControlPanelServer(he);
		(new Thread(controlPanelServer)).start();
		
		// Get sensor server running.
		SensorServer sensorServer = new SensorServer(he);
		(new Thread(sensorServer)).start();
	}
	

}
